package Prototype_mode.Data;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        DateChart dateChart,new_date=null;
        dateChart=new DateChart();
        DataSet dataSet=new DataSet();
        dateChart.setDataSet(dataSet);
        try{
            new_date=dateChart.deepClone();
        }
        catch (Exception e){
            System.err.println("失败");
        }
        dataSet.open();
        System.out.println("date是否相同"+(dateChart==new_date));
        System.out.println("dataset是否相同"+(dateChart.getDataSet()==new_date.getDataSet()));
    }
}
